package com.dd.cloud.common.constants;

import java.util.Arrays;
import java.util.List;

/**
 * @author zk
 */
public class MechanConstants {

    /**
     * 配置的科室状态
     *
     * @author vodbook
     */
    public interface MechanDepartmentStatus {
        //正常
        int NORMAL = 1;
        //已过期
        int EXPIRE = 2;
        //已过期
        int REFUND = 3;
        //删除
        int DEL = -1;
    }

    /**
     * 机构管理员状态
     *
     * @author vodbook
     */
    public interface MechanUserStatus {
        //正常
        int NORMAL = 1;
        //机构禁用
        int DISABLEMECHAN = 2;
        //运营禁用
        int DISABLEADMIN = 3;
        //删除
        int DEL = -1;
        //待审核状态
        int WAIT_USE=4;
        //审核失败
        int FAIL=5;
        //机构能操作的状态
        List<Integer> mechanOper = Arrays.asList(NORMAL, DISABLEMECHAN, DEL);
    }

    /**
     * 龙头机构管理员状态
     *
     * @author vodbook
     */
    public interface TapUserStatus {
        //正常
        int NORMAL = 1;
        //机构禁用
        int DISABLEMECHAN = 2;
        //运营禁用
        int DISABLEADMIN = 3;
        //删除
        int DEL = -1;
        //机构能操作的状态
        List<Integer> mechanOper = Arrays.asList(NORMAL, DISABLEMECHAN, DEL);
    }

    /**
     * 绑定药房状态
     *
     * @author vodbook
     */
    public interface BindPharStaus {
        //正常
        int NORMAL = 1;
        //删除
        int DEL = -1;
    }

    /**
     * 机构管理员类型
     *
     * @author vodbook
     */
    public interface MechanUserType {
        //超级管理员
        int ADMIN = 1;
        //普通管理员
        int PLAIN = 0;
    }

    /**
     * 机构管理员类型
     *
     * @author vodbook
     */
    public interface TapUserType {
        //超级管理员
        int ADMIN = 1;
        //普通管理员
        int PLAIN = 0;
    }

    /**
     * 机构状态
     *
     * @author vodbook
     */
    public interface MechanStatus {
        //正常
        int NORMAL = 1;
        //一级机构禁用
        int DISABLETAB = 2;
        //运营禁用
        int DISABLEADMIN = 3;
        //待审核
        int UN_REVIEW = 4;
        //待审核(正常可使用)
        int UN_REVIEW_NORMAL = 41;
        //审核拒绝
        int REVIEW_REJECT = 5;
        //审核拒绝(正常可使用)
        int REVIEW_REJECT_NORMAL = 51;
        //删除
        int DEL = -1;
        //审核流程状态
        String REVIEW_PROCESS = "1,5";
        //注销
        int OFF=6;
    }

    /**
     * 一级机构状态
     *
     * @author vodbook
     */
    public interface MechanTapStatus {
        //正常
        int NORMAL = 1;
        //运营禁用
        int DISABLEADMIN = 3;
        //删除
        int DEL = -1;
        //可查询状态
        String CAN_QUE = "1,3";
    }

    /**
     * 申请机构记录状态
     *
     * @author vodbook
     */
    public interface MechanRankApplyStatus {
        //正常
        int NORMAL = 1;
        //删除
        int DEL = -1;
    }

    /**
     * 机构设置的处方数
     *
     * @author vodbook
     */
    public interface MechanLimitNum {
        //无限
        int INFINITE = -1;
    }

    /**
     * 机构设置的处方数
     *
     * @author vodbook
     */
    public interface MechanLimitType {
        //天
        int DAY = 1;
        //周
        int WEEK = 2;
        //月
        int MONTH = 3;
        //季度
        int QUARTER = 4;
        //年
        int YEAR = 5;
    }

    /**
     * 机构状态
     *
     * @author vodbook
     */
    public interface MechanSetDepStatus {
        //正常
        int NORMAL = 1;
        //退款
        int REFUND = 2;
        //过期
        int OVERDUE = 3;
    }
}
